﻿using System.ComponentModel.DataAnnotations;

namespace MVC系统mvc.Dto.Quality
{
    public class AddReInDto
    {
        /// <summary>
        /// 复检ID
        /// </summary>
      
        public int ReinspectionId { get; set; }
        /// <summary>
        /// 复检编号
        /// </summary>
        public string? ReinspectionCode { get; set; }
        /// <summary>
        /// 复检名称
        /// </summary>
        public string? ReinspectionName { get; set; }
        /// <summary>
        /// 复检数量
        /// </summary>
        public int? ReinspectionNumber { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? ReinspectionNote { get; set; }
        /// <summary>
        /// 复检状态
        /// </summary>
        public string? ReinspectionSarte { get; set; } = "待复检";
        /// <summary>
        /// 合格状态
        /// </summary>
        public string? HeGeSarte { get; set; }
        /// <summary>
        /// 复检日期
        /// </summary>
        public DateTime? ReinspectionTime { get; set; }
        /// <summary>
        /// 复检人
        /// </summary>
        public string? ReName { get; set; }
        /// <summary>
        /// 原料质检表ID
        /// </summary>
        public int? RawMaterialQualityId { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreatedBy { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreatedDate { get; set; } = Convert.ToDateTime(DateTime.Now.ToString("yyyy-MM-dd"));

        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdatedBy { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdatedDate { get; set; }

        /// <summary>
        /// 删除人
        /// </summary>
        public string? DeletedBy { get; set; }

        /// <summary>
        /// 删除时间
        /// </summary>
        public DateTime? DeletedDate { get; set; }

        /// <summary>
        /// 逻辑状态
        /// </summary>
        public bool IsDeleted { get; set; } = false;
        public string? token {  get; set; }
    }
}
